<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		<div></div>
		<div></div>
		<div></div>
	</body>
</html>
<script type="text/javascript">
	//数组的合并 
	const A = ['a','b','c'];
	const B = ['d','e','f'];
	const C = [...A,...B];
	console.log(C)
	// 数组的克隆
	const D = ['g','h'];
	const E =[...D];
	console.log(E)
	// 将为数组转化为真正的数组
	var divs = document.getElementsByTagName("div");
	console.log(divs);
	const divarr = [...divs];
	console.log(divarr);
	console.log(divarr.pop())
</script>